package cn.strive.eams.dict.mapper;

import cn.strive.eams.dict.pojo.dto.DictQuery;
import cn.strive.eams.dict.pojo.entity.Dict;
import cn.strive.eams.dict.pojo.vo.DictVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DictMapper {
    List<DictVO> selectByNameAndCode(DictQuery dictQuery);

    void insert(Dict dict);

    void update(Dict dict);

    void delete(Long id);

}
